package com.woniu.outlet.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class PurchaseDetailPoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PurchaseDetailPoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdIsNull() {
            addCriterion("purchase_id is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdIsNotNull() {
            addCriterion("purchase_id is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdEqualTo(Long value) {
            addCriterion("purchase_id =", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdNotEqualTo(Long value) {
            addCriterion("purchase_id <>", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdGreaterThan(Long value) {
            addCriterion("purchase_id >", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("purchase_id >=", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdLessThan(Long value) {
            addCriterion("purchase_id <", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdLessThanOrEqualTo(Long value) {
            addCriterion("purchase_id <=", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdIn(List<Long> values) {
            addCriterion("purchase_id in", values, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdNotIn(List<Long> values) {
            addCriterion("purchase_id not in", values, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdBetween(Long value1, Long value2) {
            addCriterion("purchase_id between", value1, value2, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdNotBetween(Long value1, Long value2) {
            addCriterion("purchase_id not between", value1, value2, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andBomIdIsNull() {
            addCriterion("bom_id is null");
            return (Criteria) this;
        }

        public Criteria andBomIdIsNotNull() {
            addCriterion("bom_id is not null");
            return (Criteria) this;
        }

        public Criteria andBomIdEqualTo(Long value) {
            addCriterion("bom_id =", value, "bomId");
            return (Criteria) this;
        }

        public Criteria andBomIdNotEqualTo(Long value) {
            addCriterion("bom_id <>", value, "bomId");
            return (Criteria) this;
        }

        public Criteria andBomIdGreaterThan(Long value) {
            addCriterion("bom_id >", value, "bomId");
            return (Criteria) this;
        }

        public Criteria andBomIdGreaterThanOrEqualTo(Long value) {
            addCriterion("bom_id >=", value, "bomId");
            return (Criteria) this;
        }

        public Criteria andBomIdLessThan(Long value) {
            addCriterion("bom_id <", value, "bomId");
            return (Criteria) this;
        }

        public Criteria andBomIdLessThanOrEqualTo(Long value) {
            addCriterion("bom_id <=", value, "bomId");
            return (Criteria) this;
        }

        public Criteria andBomIdIn(List<Long> values) {
            addCriterion("bom_id in", values, "bomId");
            return (Criteria) this;
        }

        public Criteria andBomIdNotIn(List<Long> values) {
            addCriterion("bom_id not in", values, "bomId");
            return (Criteria) this;
        }

        public Criteria andBomIdBetween(Long value1, Long value2) {
            addCriterion("bom_id between", value1, value2, "bomId");
            return (Criteria) this;
        }

        public Criteria andBomIdNotBetween(Long value1, Long value2) {
            addCriterion("bom_id not between", value1, value2, "bomId");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumIsNull() {
            addCriterion("purchase_num is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumIsNotNull() {
            addCriterion("purchase_num is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumEqualTo(Integer value) {
            addCriterion("purchase_num =", value, "purchaseNum");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumNotEqualTo(Integer value) {
            addCriterion("purchase_num <>", value, "purchaseNum");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumGreaterThan(Integer value) {
            addCriterion("purchase_num >", value, "purchaseNum");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("purchase_num >=", value, "purchaseNum");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumLessThan(Integer value) {
            addCriterion("purchase_num <", value, "purchaseNum");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumLessThanOrEqualTo(Integer value) {
            addCriterion("purchase_num <=", value, "purchaseNum");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumIn(List<Integer> values) {
            addCriterion("purchase_num in", values, "purchaseNum");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumNotIn(List<Integer> values) {
            addCriterion("purchase_num not in", values, "purchaseNum");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumBetween(Integer value1, Integer value2) {
            addCriterion("purchase_num between", value1, value2, "purchaseNum");
            return (Criteria) this;
        }

        public Criteria andPurchaseNumNotBetween(Integer value1, Integer value2) {
            addCriterion("purchase_num not between", value1, value2, "purchaseNum");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNull() {
            addCriterion("total_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNotNull() {
            addCriterion("total_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyEqualTo(BigDecimal value) {
            addCriterion("total_money =", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotEqualTo(BigDecimal value) {
            addCriterion("total_money <>", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThan(BigDecimal value) {
            addCriterion("total_money >", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_money >=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThan(BigDecimal value) {
            addCriterion("total_money <", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_money <=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIn(List<BigDecimal> values) {
            addCriterion("total_money in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotIn(List<BigDecimal> values) {
            addCriterion("total_money not in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_money between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_money not between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andMaterialNameIsNull() {
            addCriterion("material_name is null");
            return (Criteria) this;
        }

        public Criteria andMaterialNameIsNotNull() {
            addCriterion("material_name is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialNameEqualTo(String value) {
            addCriterion("material_name =", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotEqualTo(String value) {
            addCriterion("material_name <>", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameGreaterThan(String value) {
            addCriterion("material_name >", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameGreaterThanOrEqualTo(String value) {
            addCriterion("material_name >=", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameLessThan(String value) {
            addCriterion("material_name <", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameLessThanOrEqualTo(String value) {
            addCriterion("material_name <=", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameLike(String value) {
            addCriterion("material_name like", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotLike(String value) {
            addCriterion("material_name not like", value, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameIn(List<String> values) {
            addCriterion("material_name in", values, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotIn(List<String> values) {
            addCriterion("material_name not in", values, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameBetween(String value1, String value2) {
            addCriterion("material_name between", value1, value2, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialNameNotBetween(String value1, String value2) {
            addCriterion("material_name not between", value1, value2, "materialName");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeIsNull() {
            addCriterion("material_code is null");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeIsNotNull() {
            addCriterion("material_code is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeEqualTo(String value) {
            addCriterion("material_code =", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeNotEqualTo(String value) {
            addCriterion("material_code <>", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeGreaterThan(String value) {
            addCriterion("material_code >", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeGreaterThanOrEqualTo(String value) {
            addCriterion("material_code >=", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeLessThan(String value) {
            addCriterion("material_code <", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeLessThanOrEqualTo(String value) {
            addCriterion("material_code <=", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeLike(String value) {
            addCriterion("material_code like", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeNotLike(String value) {
            addCriterion("material_code not like", value, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeIn(List<String> values) {
            addCriterion("material_code in", values, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeNotIn(List<String> values) {
            addCriterion("material_code not in", values, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeBetween(String value1, String value2) {
            addCriterion("material_code between", value1, value2, "materialCode");
            return (Criteria) this;
        }

        public Criteria andMaterialCodeNotBetween(String value1, String value2) {
            addCriterion("material_code not between", value1, value2, "materialCode");
            return (Criteria) this;
        }

        public Criteria andColorIsNull() {
            addCriterion("color is null");
            return (Criteria) this;
        }

        public Criteria andColorIsNotNull() {
            addCriterion("color is not null");
            return (Criteria) this;
        }

        public Criteria andColorEqualTo(String value) {
            addCriterion("color =", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotEqualTo(String value) {
            addCriterion("color <>", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorGreaterThan(String value) {
            addCriterion("color >", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorGreaterThanOrEqualTo(String value) {
            addCriterion("color >=", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLessThan(String value) {
            addCriterion("color <", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLessThanOrEqualTo(String value) {
            addCriterion("color <=", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLike(String value) {
            addCriterion("color like", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotLike(String value) {
            addCriterion("color not like", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorIn(List<String> values) {
            addCriterion("color in", values, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotIn(List<String> values) {
            addCriterion("color not in", values, "color");
            return (Criteria) this;
        }

        public Criteria andColorBetween(String value1, String value2) {
            addCriterion("color between", value1, value2, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotBetween(String value1, String value2) {
            addCriterion("color not between", value1, value2, "color");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitIsNull() {
            addCriterion("specification_unit is null");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitIsNotNull() {
            addCriterion("specification_unit is not null");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitEqualTo(String value) {
            addCriterion("specification_unit =", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotEqualTo(String value) {
            addCriterion("specification_unit <>", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitGreaterThan(String value) {
            addCriterion("specification_unit >", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitGreaterThanOrEqualTo(String value) {
            addCriterion("specification_unit >=", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitLessThan(String value) {
            addCriterion("specification_unit <", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitLessThanOrEqualTo(String value) {
            addCriterion("specification_unit <=", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitLike(String value) {
            addCriterion("specification_unit like", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotLike(String value) {
            addCriterion("specification_unit not like", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitIn(List<String> values) {
            addCriterion("specification_unit in", values, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotIn(List<String> values) {
            addCriterion("specification_unit not in", values, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitBetween(String value1, String value2) {
            addCriterion("specification_unit between", value1, value2, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotBetween(String value1, String value2) {
            addCriterion("specification_unit not between", value1, value2, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightIsNull() {
            addCriterion("theoretical_weight is null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightIsNotNull() {
            addCriterion("theoretical_weight is not null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightEqualTo(String value) {
            addCriterion("theoretical_weight =", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightNotEqualTo(String value) {
            addCriterion("theoretical_weight <>", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightGreaterThan(String value) {
            addCriterion("theoretical_weight >", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightGreaterThanOrEqualTo(String value) {
            addCriterion("theoretical_weight >=", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightLessThan(String value) {
            addCriterion("theoretical_weight <", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightLessThanOrEqualTo(String value) {
            addCriterion("theoretical_weight <=", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightLike(String value) {
            addCriterion("theoretical_weight like", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightNotLike(String value) {
            addCriterion("theoretical_weight not like", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightIn(List<String> values) {
            addCriterion("theoretical_weight in", values, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightNotIn(List<String> values) {
            addCriterion("theoretical_weight not in", values, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightBetween(String value1, String value2) {
            addCriterion("theoretical_weight between", value1, value2, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightNotBetween(String value1, String value2) {
            addCriterion("theoretical_weight not between", value1, value2, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceIsNull() {
            addCriterion("purchase_tax_price is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceIsNotNull() {
            addCriterion("purchase_tax_price is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceEqualTo(BigDecimal value) {
            addCriterion("purchase_tax_price =", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceNotEqualTo(BigDecimal value) {
            addCriterion("purchase_tax_price <>", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceGreaterThan(BigDecimal value) {
            addCriterion("purchase_tax_price >", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("purchase_tax_price >=", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceLessThan(BigDecimal value) {
            addCriterion("purchase_tax_price <", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("purchase_tax_price <=", value, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceIn(List<BigDecimal> values) {
            addCriterion("purchase_tax_price in", values, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceNotIn(List<BigDecimal> values) {
            addCriterion("purchase_tax_price not in", values, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("purchase_tax_price between", value1, value2, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andPurchaseTaxPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("purchase_tax_price not between", value1, value2, "purchaseTaxPrice");
            return (Criteria) this;
        }

        public Criteria andRejectNumIsNull() {
            addCriterion("reject_num is null");
            return (Criteria) this;
        }

        public Criteria andRejectNumIsNotNull() {
            addCriterion("reject_num is not null");
            return (Criteria) this;
        }

        public Criteria andRejectNumEqualTo(Integer value) {
            addCriterion("reject_num =", value, "rejectNum");
            return (Criteria) this;
        }

        public Criteria andRejectNumNotEqualTo(Integer value) {
            addCriterion("reject_num <>", value, "rejectNum");
            return (Criteria) this;
        }

        public Criteria andRejectNumGreaterThan(Integer value) {
            addCriterion("reject_num >", value, "rejectNum");
            return (Criteria) this;
        }

        public Criteria andRejectNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("reject_num >=", value, "rejectNum");
            return (Criteria) this;
        }

        public Criteria andRejectNumLessThan(Integer value) {
            addCriterion("reject_num <", value, "rejectNum");
            return (Criteria) this;
        }

        public Criteria andRejectNumLessThanOrEqualTo(Integer value) {
            addCriterion("reject_num <=", value, "rejectNum");
            return (Criteria) this;
        }

        public Criteria andRejectNumIn(List<Integer> values) {
            addCriterion("reject_num in", values, "rejectNum");
            return (Criteria) this;
        }

        public Criteria andRejectNumNotIn(List<Integer> values) {
            addCriterion("reject_num not in", values, "rejectNum");
            return (Criteria) this;
        }

        public Criteria andRejectNumBetween(Integer value1, Integer value2) {
            addCriterion("reject_num between", value1, value2, "rejectNum");
            return (Criteria) this;
        }

        public Criteria andRejectNumNotBetween(Integer value1, Integer value2) {
            addCriterion("reject_num not between", value1, value2, "rejectNum");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}